package com.push.web.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.push.web.mapper.BizDailyInfoMapper;
import com.push.web.domain.BizDailyInfo;
import com.push.web.service.IBizDailyInfoService;

/**
 * 每日监测信息Service业务层处理
 *
 * @author yanxi
 * @date 2024-02-27
 */
@Service
public class BizDailyInfoServiceImpl implements IBizDailyInfoService
{
    @Autowired
    private BizDailyInfoMapper bizDailyInfoMapper;

    /**
     * 查询每日监测信息
     *
     * @param id 每日监测信息主键
     * @return 每日监测信息
     */
    @Override
    public BizDailyInfo selectBizDailyInfoById(Long id)
    {
        return bizDailyInfoMapper.selectBizDailyInfoById(id);
    }

    @Override
    public BizDailyInfo selectBizDailyDataKey(String dataKey)
    {
        return bizDailyInfoMapper.selectBizDailyDataKey(dataKey);
    }

    /**
     * 查询每日监测信息列表
     *
     * @param bizDailyInfo 每日监测信息
     * @return 每日监测信息
     */
    @Override
    public List<BizDailyInfo> selectBizDailyInfoList(BizDailyInfo bizDailyInfo)
    {
        return bizDailyInfoMapper.selectBizDailyInfoList(bizDailyInfo);
    }

    /**
     * 新增每日监测信息
     *
     * @param bizDailyInfo 每日监测信息
     * @return 结果
     */
    @Override
    public int insertBizDailyInfo(BizDailyInfo bizDailyInfo)
    {
        return bizDailyInfoMapper.insertBizDailyInfo(bizDailyInfo);
    }

    /**
     * 修改每日监测信息
     *
     * @param bizDailyInfo 每日监测信息
     * @return 结果
     */
    @Override
    public int updateBizDailyInfo(BizDailyInfo bizDailyInfo)
    {
        return bizDailyInfoMapper.updateBizDailyInfo(bizDailyInfo);
    }

    /**
     * 批量删除每日监测信息
     *
     * @param ids 需要删除的每日监测信息主键
     * @return 结果
     */
    @Override
    public int deleteBizDailyInfoByIds(Long[] ids)
    {
        return bizDailyInfoMapper.deleteBizDailyInfoByIds(ids);
    }

    /**
     * 删除每日监测信息信息
     *
     * @param id 每日监测信息主键
     * @return 结果
     */
    @Override
    public int deleteBizDailyInfoById(Long id)
    {
        return bizDailyInfoMapper.deleteBizDailyInfoById(id);
    }

    @Override
    public List<BizDailyInfo> selectBizDailyInfoByIds(List<Long> ids) {
        return bizDailyInfoMapper.selectBizDailyInfoByIds(ids);
    }
}
